{template "header.html"}

<div class="note note-danger">
    <p><a href="javascript:dr_update_cache();">{dr_lang('更改数据之后需要更新缓存之后才能生效')}</a></p>
</div>
<form action="" class="form-horizontal" method="post" name="myform" id="myform">
    {$form}
    <div class="portlet bordered light myfbody">
        <div class="portlet-title tabbable-line">
            <ul class="nav nav-tabs" style="float:left;">
                <li class="{if $page==0}active{/if}">
                    <a href="#tab_0" data-toggle="tab" onclick="$('#dr_page').val('0')"> <i class="fa fa-cog"></i> {dr_lang('圈子设置')} </a>
                </li>
            </ul>
        </div>
        <div class="portlet-body">
            <div class="tab-content">
                <div class="tab-pane {if $page==0}active{/if}" id="tab_0">
                    <div class="form-body">

                        <div class="form-group">
                            <label class="col-md-2 control-label">{dr_lang('圈子收成比例')}</label>
                            <div class="col-md-9">
                                <!--input type="checkbox" name="data[quan_baifen]" value="1" {if $data['quan_baifen']}checked{/if} data-on-text="{dr_lang('开启')}" data-off-text="{dr_lang('关闭')}" data-on-color="success" data-off-color="danger" class="make-switch" data-size="small"-->
								<input class="form-control input-xlarge" type="text" name="data[quan_shoucheng]" value="{$data['quan_shoucheng']}" >
								<span class="help-block">百分比。填写数字：10% 填写数字 0.1，20% 填写数字 0.2, 0为关闭</span>
                            </div>
                        </div>
						<div class="form-group">
						    <label class="col-md-2 control-label">{dr_lang('圈子收款人ID')}</label>
						    <div class="col-md-9">
						        <!--input type="checkbox" name="data[quan_baifen]" value="1" {if $data['quan_baifen']}checked{/if} data-on-text="{dr_lang('开启')}" data-off-text="{dr_lang('关闭')}" data-on-color="success" data-off-color="danger" class="make-switch" data-size="small"-->
								<input class="form-control input-xlarge" type="text" name="data[quan_shouru]" value="{$data['quan_shouru']}" >
								<span class="help-block">默认ID为1，是站长收取。
								<a href="javascript:dr_iframe_show('code', '{dr_url('/member/home/index')}', '800px', '50%');">查看用户id</a>
								</span>
						    </div>
						</div>

                    </div>
                </div>
            </div>
        </div>

        <div class="portlet-body form myfooter">
            <div class="form-actions text-center">
                <button type="button" onclick="dr_ajax_submit('{dr_now_url()}', 'myform', '2000')" class="btn green"> <i class="fa fa-save"></i> {dr_lang('保存')}</button>
            </div>
        </div>
</form>



{template "footer.html"}